package com.kwq.designPattern.construct.director;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author kangwanqiang
 * @date 2021/2/7
 * @description 燃油车，实现car接口
 */
@Data
@AllArgsConstructor
public class MotorCar implements Car {
    String name;

    @Override
    public void drive() {
        System.out.println("燃油车跑：DuangDuangDuang...");
    }
}
